import { deleteApi, get, post, put } from '@/utils/http.js'

let api = {
  config: '/desktop/user/config',
  update: '/desktop/user/config/update',
}

export const getUserConfig = () => {
  return get(api.config, null)
}

export const updateUserConfig = (params) => {
  return put(api.update, params)
}
